//
//  OCPBViewController.h
//  OCPB
//
//  Created by Siroj Chongkolwanont on 6/27/56 BE.
//  Copyright (c) 2556 Siroj Chongkolwanont. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface OCPBViewController : UIViewController
- (IBAction)inform_click:(id)sender;
- (IBAction)register_click:(id)sender;
- (IBAction)login_click:(id)sender;
- (NSString*)PasswordHashed;
- (NSString*)Authorization;
- (NSString*)SHA1:(NSString*)input;
- (NSString*)Signature;
- (NSString*)Base64Sig;
- (NSString*)base64String:(NSString *)str;
@property (strong, nonatomic) IBOutlet UIButton *loginBtn;
@property (strong, nonatomic) IBOutlet UITextField *usernameText;
@property (strong, nonatomic) IBOutlet UITextField *passwordText;
@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *localSpinner;

- (IBAction)forgot_password:(id)sender;


@end
